using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;

/// <summary>
/// Summary description for UserProfileDataSource
/// </summary>
public class UserProfileDataSource
{
    public UserProfileDataSource()
    {
        //
        // TODO: Add constructor logic here
        //
    }
    //gets user profile details
    public List<UserProfile> GetData()
    {
        List<UserProfile> data = new List<UserProfile>();
        data.Add(new UserProfile());
        return data;
    }
    //updates user profile details
    public void UpdateData(UserProfile newData)
    {
        newData.UpdateProfile();
    }
}